//
//  PicView.m
//  HumorousSript
//
//  Created by 孟令博 on 15/6/18.
//  Copyright (c) 2015年 李欢. All rights reserved.
//

#import "PicView.h"

@implementation PicView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.image = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0,self.frame.size.width / 2.0, self.frame.size.height)];
        [self addSubview:_image];
        
        self.lable1 = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width / 2,0, self.frame.size.width / 2.0, self.frame.size.height)];
        //        [self.lable1 setBackgroundColor:[UIColor redColor]];
        self.lable1.font = [UIFont boldSystemFontOfSize:13];
        
        [self addSubview:_lable1];
    }
    return self;
}
@end
